package com.kwok.rbac.application.service;

import com.kwok.rbac.application.entity.SystemUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kwok.rbac.application.entity.SystemUserToken;

/**
 * <p>
 * 系统用户表 服务类
 * </p>
 *
 * @author baomidou
 * @since 2024-05-25
 */
public interface SystemUserService extends IService<SystemUser> {

    //系统用户登录
    public SystemUserToken login(String username, String password);

    //通过用户名查询用户
    public SystemUser getUserByUsername(String username);

}
